package com.smartstate.EMS.dto;


import com.smartstate.EMS.CommBase;
import com.smartstate.EMS.constant.QueryWapperEnum;
import com.smartstate.EMS.util.querywapper.QueryWapper;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 刀座表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "DTO父类")
public class DtoBase extends CommBase {

  @ApiModelProperty(value = "创建时间开始")
  @QueryWapper(field = "create_time",queryWapperEnum = QueryWapperEnum.GE)
  private String startCreateTime;

  @ApiModelProperty(value = "创建时间结束")
  @QueryWapper(field = "create_time",queryWapperEnum = QueryWapperEnum.LE)
  private String endCreateTime;

  @ApiModelProperty(value = "创建时间开始")
  @QueryWapper(field = "update_time",queryWapperEnum = QueryWapperEnum.GE)
  private String startUpdateTime;

  @ApiModelProperty(value = "创建时间结束")
  @QueryWapper(field = "update_time",queryWapperEnum = QueryWapperEnum.LE)
  private String endUpdateTime;

}
